Compiler=arm-apple-darwin9-g++
Sysroot=/

Objects= iVrit.o

Target=iVrit.dylib

all:	$(Target) install

install:
	chmod 755 $(Target) 
	cp -f $(Target) /Library/MobileSubstrate/DynamicLibraries
	killall SpringBoard

$(Target): iVrit.mm Makefile
	$(Compiler) -dynamiclib -g -O2 -Wall -o $@ iVrit.mm -fpermissive -init _HSInitialize -lobjc -framework CoreFoundation -framework Foundation -I/private/var/include -L$(Sysroot)/usr/lib -F$(Sysroot)/System/Library/Frameworks -F$(Sysroot)/System/Library/PrivateFrameworks -framework WebCore -licucore -lsubstrate
	ldid -S $(Target)

clean:
		rm -f *.o $(Target)

